import '../pages/Tab.dart';
import '../pages/SearchPage.dart';
import '../pages/DetailPage.dart';
import '../pages/register/Register1.dart';
import '../pages/register/Register2.dart';
import '../pages/register/Register3.dart';
import '../pages/TabBarControllerPage.dart';
import '../pages/user/Profile.dart';
import '../pages/form/TextFileld.dart';
import '../pages/form/ChecBoxDemo.dart';
import '../pages/form/DatePage.dart';

import '../pages/form/RadioDemo.dart';
import '../pages/form/FormAll.dart';

import '../pages/swiper/SwiperDemo.dart';

import 'package:flutter/material.dart';
import '../pages/dialog/DialogDemo.dart';
import '../pages/request/RequestDamo.dart';

import '../demo/ButtonrTest.dart';

final Map<String, WidgetBuilder> routes = {
  '/': (ctx) => Tabs(),
  '/search': (ctx) => SearchPage(),
  '/detail': (ctx) => DetailPage(),
  '/register1': (ctx) => Register1(),
  '/register2': (ctx) => Register2(),
  '/register3': (ctx) => Register3(),
  '/profile': (ctx) => Profile(),
  '/tabBarControllerPage': (ctx) => TabBarControllerPage(),
  '/buttonrTest': (ctx) => ButtonrTest(),
  '/textFileld': (ctx) => TextFileldDemo(),
  '/checBoxDemo': (ctx) => ChecBoxDemo(),
  '/radioDemo': (ctx) => RadioDemo(),
  '/swiperDemo': (ctx) => SwiperDemo(),
  '/formAll': (ctx) => FormAll(),
  '/datePage': (ctx) => DatePage(),
  '/dialog': (ctx) => DialogDemo(),
  '/requestDamo': (ctx) => RequestDamo(),
};
